package com.my.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my.admin.entity.Menu;
import com.my.admin.entity.Role;

import java.util.List;

/**
 * @author my
 */
public interface RoleService extends IService<Role> {

    List<Long> roleListByUserId(long userId);

    List<Menu> menuListByRoleId(long roleId);

}
